package com.taysear.parcel.util;

import java.util.UUID;

import com.lowagie.text.Font;
import com.lowagie.text.FontFactory;

public class Constants {
	public static final String COMMON_FIELD_WIDTH = "17em";	
	public static Font DEFAULT_FONT = FontFactory.getFont(FontFactory.TIMES_ROMAN, 10);
	
	public static final int EMPLOYEE_STATUS_IN_ACTIVE = 2;
	public static final int STATION_STATUS_IN_ACTIVE = 2;
	
	public static final int PARCEL_TABLE_PAGE_LENGTH = 20;
	public static final int LOADINGSHEET_TABLE_PAGE_LENGTH = 10;
	
	public static final int PARCEL_PAYMENT_MODE_ACCOUNT = 2;
	
	public static final int PARCEL_STATUS_NEW = 1;
	public static final int PARCEL_STATUS_EDITED = 2;
	public static final int PARCEL_STATUS_LOADED = 3;
	public static final int PARCEL_STATUS_UNLOADED = 4;
	public static final int PARCEL_STATUS_DELIVERED = 5;
	public static final int PARCEL_STATUS_UNDELIVERED = 6;
	public static final int PARCEL_STATUS_COLLECTED = 7;
	public static final int PARCEL_STATUS_CANCELLED = 8;
	public static final int PARCEL_STATUS_LOCKED = 9;
	public static final int PARCEL_STATUS_UNLOCKED = 10;
	public static final int PARCEL_STATUS_LOST = 11;
	
	public static final int PARCEL_ACTION_CREAT = 1;
	public static final int PARCEL_ACTION_EDIT = 2;
	public static final int PARCEL_ACTION_LOAD = 3;
	public static final int PARCEL_ACTION_UNLOAD = 4;
	public static final int PARCEL_ACTION_DELIVER = 5;
	public static final int PARCEL_ACTION_COLLECT = 6;
	public static final int PARCEL_ACTION_CANCEL = 7;
	public static final int PARCEL_ACTION_LOCK = 8;
	public static final int PARCEL_ACTION_UNLOCK = 9;
	
	public static final int LOADINGSHEET_STATUS_NEW = 1;
	public static final int LOADINGSHEET_STATUS_EDITED = 2;
	public static final int LOADINGSHEET_STATUS_LOADED = 3;
	public static final int LOADINGSHEET_STATUS_DELIVERED = 4;
	public static final int LOADINGSHEET_STATUS_CANCELLED = 5;
	
	public static final int LOADINGSHEET_ACTION_CREAT = 1;
	public static final int LOADINGSHEET_ACTION_EDIT = 2;
	public static final int LOADINGSHEET_ACTION_LOAD = 3;
	public static final int LOADINGSHEET_ACTION_DELIVER = 4;
	public static final int LOADINGSHEET_ACTION_CANCEL = 5;
	
	public static final int PARCEL_PIN_LENGTH = 4;
	
	public static final String SUCCESSFULLY_SAVED_MESSAGE = "Successfully saved";
	
	public static final String[] columnsParcelForm = {"station", "subStation", "senderName","senderTel", 
			"destination", "receiverName", "receiverTel", "paymentMode", "parcelType", "quantity", "weight",
			"amount", "vatable", "vatAmount", "description" };
	public static final String[] columnsCollectParcelForm = {"senderName","senderTel", 
		"destination", "destinationSubstation", "receiverName", "receiverTel", "description" };	
	
	public static final String DATE_FORMAT_STRING = "dd/MM/yyyy";
	public static final String DATE_FORMAT_STRING_LONG = "dd/MM/yyyy HH:mm";
}
